From b381ae05c558c5d4f120b6dd040cc6c0b93eea76 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 31 Aug 2024 16:48:36 +0200 Subject: [PATCH] Hard-code PCL_ROOT Closes: #1080061 --- debian/patches/0001-Fix-PCL_ROOT-path.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch index 14d4886f..9cfa7b7f 100644 --- a/debian/patches/0001-Fix-PCL_ROOT-path.patch +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -7,7 +7,7 @@ Subject: Fix PCL_ROOT path 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in -index cf21c44..2eafd3c 100644 +index cf21c44..e664080 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -411,7 +411,7 @@ if(WIN32 AND NOT MINGW) @@ -15,7 +15,7 @@ index cf21c44..2eafd3c 100644 else() # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y - get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) -+ get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) ++ set(PCL_ROOT "/usr") endif() # check whether PCLConfig.cmake is found into a PCL installation or in a build tree -- 2.30.2